#pragma once
#define _CRT_SECURE_NO_DEPRECATE

#ifndef WINVER
#define WINVER 0x0501
#endif

#ifndef _WIN32_WINNT                
#define _WIN32_WINNT 0x0501
#endif						

#ifndef _WIN32_WINDOWS
#define _WIN32_WINDOWS 0x0410
#endif

#ifndef _WIN32_IE
#define _WIN32_IE 0x0600
#endif

#define WIN32_LEAN_AND_MEAN
// File di intestazione di Windows:
#include <windows.h>

#include <shellapi.h>
#include <commdlg.h>

#include <tchar.h>
#include <fstream>
#include <string>
#include <io.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <shlobj.h>

#define _AFX
#include "glib.h"

extern HWND hDlgCurrent;

#ifdef UNICODE
#define _tstring	std::wstring
#else
#define _tstring	std::string
#endif
